package com.aspose.cells.a.d;

public class zey extends zeo {
   private zee d;
   private com.aspose.cells.b.a.b.a.zi g;

   public zey(zdh var1, com.aspose.cells.b.a.b.zx var2) throws Exception {
      super(var1);
      this.d = new zdd((com.aspose.cells.b.a.b.za)var2.a(), var1.b().u());
      this.g = var2.b();
   }

   public zey(zdh var1, com.aspose.cells.b.a.b.a.zg var2) throws Exception {
      super(var1);
      this.d = new zec(var2);
   }

   public void b(zeg var1) throws Exception {
      super.b(var1);
      var1.a("/PaintType", 1);
      var1.a("/TilingType", 2);
      var1.a("/BBox", new com.aspose.cells.b.a.b.zq(0.0F, 0.0F, (float)this.d.b(), (float)this.d.c()));
      var1.a("/XStep", this.d.b());
      var1.a("/YStep", this.d.c());
      var1.a("/Resources");
      var1.g();
      this.a.a(var1);
      var1.h();
      this.c(var1);
   }

   public void a(zeg var1) throws Exception {
      int var2 = this.e.b().c();
      this.e.b().b(0);
      this.b.a(this.d, com.aspose.cells.b.a.b.zo.a(), new com.aspose.cells.b.a.b.zt((float)this.d.b(), (float)this.d.c()));
      super.a(var1);
      this.a.b(var1);
      this.e.b().b(var2);
   }

   protected int c() {
      return 1;
   }

   protected com.aspose.cells.b.a.b.a.zi d() {
      return this.g;
   }
}
